﻿<Window x:Class="GuiLayer.ApKlantenVoegToe"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ApKlantenVoegToe" Height="400" Width="300">
    <Grid Margin="0,0,-8,-4">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="265*"/>
            <ColumnDefinition Width="54*"/>
        </Grid.ColumnDefinitions>
        <Label Content="klantNr" HorizontalAlignment="Left" Margin="10,28,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtklantNr" HorizontalAlignment="Left" Height="23" Margin="136,28,0,0" TextWrapping="Wrap" 
                 Text="{Binding Path=K.klantnr,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"  VerticalAlignment="Top" Width="120"/>
        <Label Content="naam" HorizontalAlignment="Left" Margin="10,59,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtNaam" HorizontalAlignment="Left" Height="23" Margin="136,63,0,0" TextWrapping="Wrap" 
                 Text="{Binding Path=K.naam,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Label Content="voornaam" HorizontalAlignment="Left" Margin="10,99,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtVoornaam" HorizontalAlignment="Left" Height="23" Margin="136,102,0,0" TextWrapping="Wrap" 
                 Text="{Binding Path=K.voornaam,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Label Content="adres" HorizontalAlignment="Left" Margin="15,140,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.312,-0.263" Width="58"/>
        <TextBox x:Name="txtAdres" HorizontalAlignment="Left" Height="23" Margin="136,143,0,0" TextWrapping="Wrap" 
                Text="{Binding Path=K.adres,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Label Content="postcode&#xD;&#xA;" HorizontalAlignment="Left" Margin="15,178,0,0" VerticalAlignment="Top" Height="25"/>
        <TextBox x:Name="txtPostcode" HorizontalAlignment="Left" Height="23" Margin="136,182,0,0" TextWrapping="Wrap" 
                 Text="{Binding Path=K.postcode,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Label Content="telefoon" HorizontalAlignment="Left" Margin="15,217,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtTelefoon" HorizontalAlignment="Left" Height="23" Margin="136,220,0,0" TextWrapping="Wrap" 
                 Text="{Binding Path=K.telefoon,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Label Content="Email" HorizontalAlignment="Left" Margin="15,260,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtEmail" HorizontalAlignment="Left" Height="23" Margin="136,260,0,0" TextWrapping="Wrap" 
                 Text="{Binding Path=K.email,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Label Content="Getrouwheidskm&#xD;&#xA;" HorizontalAlignment="Left" Margin="10,296,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtGetrouwheidskm" HorizontalAlignment="Left" Height="23" Margin="136,296,0,0" TextWrapping="Wrap"
                 Text="{Binding Path=K.getrouwheidsKm,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="120"/>
        <Button Grid.ColumnSpan="2" Content="Insert" HorizontalAlignment="Left" Margin="186,338,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>

    </Grid>
</Window>
